/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LENOVO
 * Date: 2024-08-05
 * Time: 19:24
 */
public class Test2 {
    public static void main(String[] args) {
        MyArraylist myArraylist = new MyArraylist();
        myArraylist.add(1);
        myArraylist.add(2);
        myArraylist.add(3);
        myArraylist.add(0,99);
        myArraylist.add(4,88);
        myArraylist.remove(88);
        System.out.println(myArraylist.contains(99));
        System.out.println(myArraylist.contains(88));
        System.out.println(myArraylist.isFull());
        myArraylist.display();
        System.out.println();
        System.out.println(myArraylist.indexOf(99));
        myArraylist.clear();
        myArraylist.display();
    }
}
